package com.sky.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.sky.entity.DishFlavor;

import java.awt.datatransfer.DataFlavor;
import java.util.List;


/**
 * 菜品口味关系表 服务类
 *
 * @author alkaid
 * @since 2024-02-20
 */

public interface DishFlavorService extends IService<DishFlavor> {
    void createBatch(List<DishFlavor> dishFlavorList);

    /**
     * 根据菜品 id 删除对应口味
     * @param dishId
     */
    void deleteByDishId(Long dishId);


    List<DishFlavor> queryByDishId(Long dishId);
}
